<?php
	require_once("includes/database.php");
	
	session_start();
	
	if($_SESSION['username'] == "")
	{
		header("Location: index.php");
	}
	
	if($_SERVER['SERVER_NAME'] == "localhost")
	{
		define('PATH_FOTOS', "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/galander/temp/");
	}
	else
	{
		define('PATH_FOTOS', "/var/www/html/galander/temp/");
	}
	
	

?>